[INFO] cloning repository https://github.com/equinor/gordo-controller
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/equinor/gordo-controller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 83ff88c23abfbd3d7620389a3efcbc6f7e52f62e
[INFO] checking equinor/gordo-controller against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/equinor/gordo-controller on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/equinor/gordo-controller
[INFO] finished tweaking git repo https://github.com/equinor/gordo-controller
[INFO] tweaked toml for git repo https://github.com/equinor/gordo-controller written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/equinor/gordo-controller already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded kube-client v0.71.0
[INFO] [stderr]   Downloaded kube-core v0.71.0
[INFO] [stderr]   Downloaded pem v1.0.2
[INFO] [stderr]   Downloaded tokio-test v0.2.1
[INFO] [stderr]   Downloaded jsonpath_lib v0.3.0
[INFO] [stderr]   Downloaded actix-web-prom v0.6.0
[INFO] [stderr]   Downloaded kube-derive v0.71.0
[INFO] [stderr]   Downloaded kube-runtime v0.71.0
[INFO] [stderr]   Downloaded tokio-openssl v0.6.3
[INFO] [stderr]   Downloaded hyper-openssl v0.9.2
[INFO] [stderr]   Downloaded kube v0.71.0
[INFO] [stderr]   Downloaded k8s-openapi v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be9716ee93ba4a03c1c3805c46752fbd022828c268aa22ca1e6d9096fa394fbe
[INFO] running `Command { std: "docker" "start" "-a" "be9716ee93ba4a03c1c3805c46752fbd022828c268aa22ca1e6d9096fa394fbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be9716ee93ba4a03c1c3805c46752fbd022828c268aa22ca1e6d9096fa394fbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be9716ee93ba4a03c1c3805c46752fbd022828c268aa22ca1e6d9096fa394fbe", kill_on_drop: false }`
[INFO] [stdout] be9716ee93ba4a03c1c3805c46752fbd022828c268aa22ca1e6d9096fa394fbe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0326e018c99e5d043987d6f25e02586dbd03052cc20bb57ecfa1c7e94a57b091
[INFO] running `Command { std: "docker" "start" "-a" "0326e018c99e5d043987d6f25e02586dbd03052cc20bb57ecfa1c7e94a57b091", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.92
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking local-waker v0.1.2
[INFO] [stderr]     Checking tower-layer v0.3.1
[INFO] [stderr]    Compiling tokio-openssl v0.6.3
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling k8s-openapi v0.14.0
[INFO] [stderr]    Compiling schemars v0.8.8
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]    Compiling zstd-safe v4.1.4+zstd.1.5.2
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling hyper-openssl v0.9.2
[INFO] [stderr]     Checking dyn-clone v1.0.5
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking zeroize v1.5.4
[INFO] [stderr]    Compiling firestorm v0.5.0
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking num_threads v0.1.5
[INFO] [stderr]    Compiling protobuf v2.27.1
[INFO] [stderr]     Checking http-range-header v0.3.0
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]    Compiling prometheus v0.13.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]     Checking bytestring v1.0.0
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking pem v1.0.2
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]     Checking miniz_oxide v0.5.1
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking linked_hash_set v0.1.4
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]     Checking object v0.28.3
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking flate2 v1.0.23
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking ordered-float v2.10.0
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking time v0.3.9
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking backoff v0.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling zstd-sys v1.6.3+zstd.1.5.2
[INFO] [stderr]    Compiling backtrace v0.3.65
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-test v0.2.1
[INFO] [stderr]    Compiling serde_derive_internals v0.25.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling schemars_derive v0.8.8
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking tokio v1.18.0
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking local-channel v0.1.2
[INFO] [stderr]     Checking tower-http v0.2.5
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking tower v0.4.12
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking zstd v0.10.0+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.0.4
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking serde_yaml v0.8.23
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking envy v0.4.2
[INFO] [stderr]     Checking treediff v3.0.2
[INFO] [stderr]     Checking jsonpath_lib v0.3.0
[INFO] [stderr]     Checking hyper-tls v0.4.3
[INFO] [stderr]     Checking reqwest v0.10.10
[INFO] [stderr]     Checking json-patch v0.2.6
[INFO] [stderr]    Compiling actix-web-codegen v4.0.0
[INFO] [stderr]    Compiling kube-derive v0.71.0
[INFO] [stderr]     Checking actix-web v4.0.1
[INFO] [stderr]     Checking actix-web-prom v0.6.0
[INFO] [stderr]     Checking kube-core v0.71.0
[INFO] [stderr]     Checking kube-client v0.71.0
[INFO] [stderr]     Checking kube-runtime v0.71.0
[INFO] [stderr]     Checking kube v0.71.0
[INFO] [stderr]     Checking gordo-controller v0.11.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `helpers`
[INFO] [stdout]   --> examples/helpers.rs:24:2
[INFO] [stdout]    |
[INFO] [stdout] 24 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/helpers.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gordo-controller` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved imports `gordo_controller::crd::gordo::load_gordo_resource`, `gordo_controller::crd::model::load_model_resource`
[INFO] [stdout]  --> examples/apply_gordo.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use gordo_controller::crd::{gordo::load_gordo_resource, model::load_model_resource};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `load_model_resource` in `crd::model`
[INFO] [stdout]   |                             |
[INFO] [stdout]   |                             no `load_gordo_resource` in `crd::gordo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kube::client::APIClient`
[INFO] [stdout]  --> examples/apply_gordo.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use kube::client::APIClient;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |     |             |
[INFO] [stdout]   |     |             help: a similar name exists in the module: `Client`
[INFO] [stdout]   |     no `APIClient` in `client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `gordo_controller::crd::gordo::load_gordo_resource`, `gordo_controller::crd::model::load_model_resource`, `gordo_controller::load_kube_config`
[INFO] [stdout]  --> examples/query_server.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 |     crd::gordo::{load_gordo_resource, Gordo},
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^ no `load_gordo_resource` in `crd::gordo`
[INFO] [stdout] 4 |     crd::model::{load_model_resource, Model},
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^ no `load_model_resource` in `crd::model`
[INFO] [stdout] 5 |     load_kube_config,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ no `load_kube_config` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kube::client::APIClient`
[INFO] [stdout]  --> examples/query_server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use kube::client::APIClient;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |     |             |
[INFO] [stdout]   |     |             help: a similar name exists in the module: `Client`
[INFO] [stdout]   |     no `APIClient` in `client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_kube_config` in module `config`
[INFO] [stdout]   --> examples/apply_gordo.rs:18:41
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let client = APIClient::new(config::load_kube_config().await.unwrap());
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ not found in `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `failure::_core::time::Duration`
[INFO] [stdout]  --> examples/query_server.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use failure::_core::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Gordo`, `Model`
[INFO] [stdout]  --> examples/query_server.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 |     crd::gordo::{load_gordo_resource, Gordo},
[INFO] [stdout]   |                                       ^^^^^
[INFO] [stdout] 4 |     crd::model::{load_model_resource, Model},
[INFO] [stdout]   |                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DeleteParams`, `PostParams`
[INFO] [stdout]  --> examples/query_server.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use kube::api::{DeleteParams, PostParams};
[INFO] [stdout]   |                 ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `query_server`
[INFO] [stdout]    --> examples/query_server.rs:137:2
[INFO] [stdout]     |
[INFO] [stdout] 137 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `examples/query_server.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gordo-controller` due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]   --> examples/apply_gordo.rs:51:27
[INFO] [stdout]    |
[INFO] [stdout] 51 |     model.metadata.labels.insert(
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout] 52 |         "applications.gordo.equinor.com/project-revision".to_owned(),
[INFO] [stdout] 53 |         gordo.status.unwrap().project_revision,
[INFO] [stdout]    |         -------------------------------------- argument unexpected
[INFO] [stdout]    |
[INFO] [stdout] note: expected struct `BTreeMap`, found struct `std::string::String`
[INFO] [stdout]   --> examples/apply_gordo.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         "applications.gordo.equinor.com/project-revision".to_owned(),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: expected struct `BTreeMap<std::string::String, std::string::String>`
[INFO] [stdout]               found struct `std::string::String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 51 |     model.metadata.labels.insert(/* BTreeMap<std::string::String, std::string::String> */);
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gordo-controller` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "0326e018c99e5d043987d6f25e02586dbd03052cc20bb57ecfa1c7e94a57b091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0326e018c99e5d043987d6f25e02586dbd03052cc20bb57ecfa1c7e94a57b091", kill_on_drop: false }`
[INFO] [stdout] 0326e018c99e5d043987d6f25e02586dbd03052cc20bb57ecfa1c7e94a57b091
